Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Garpur Dagsson 29 posts 164 karma points
    Apr 28, 2015 @ 15:55
    Garpur Dagsson
    0

    Request.QueryString["recordid"] is empty on "thank you" page

    Hi all,

    I am trying to access the posted record on the "thank you" page, all the information I have found indicates that I should be able to access Request.QueryString and extract eg. RequestId from that.

    Basically I am posting a simple form with a redirect to a thank you page.

    My problem is that there is nothing in the querystring :(

     

    Does anyone have any hints as to what I might be doing wrong?

     

    cheers

    garpur

  • Comment author was deleted

    May 06, 2015 @ 09:53

    Hey Garpur,

    Are you using Forms or Contour since there is a difference between the 2, if you are using Forms the record id is found in tempdata

  • Garpur Dagsson 29 posts 164 karma points
    May 06, 2015 @ 12:51
    Garpur Dagsson
    0

    Hi Tim,

    I am using Forms which explains my pain :p

     

    Do you have an example I an use (steal)? :)

     

    cheers

    garpur

  • Comment author was deleted

    May 06, 2015 @ 13:38

    Try TempData["Forms_Current_Record_id"]

     

Please Sign in or register to post replies

Write your reply to:

Draft